﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Manager/MIOS_Manager.master" AutoEventWireup="true" CodeFile="AddManager.aspx.cs" Inherits="Manager_Addmanager" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table  id="tabAddMenber"  runat =server>
			<tr>
	             <td  align="left" height="25" colspan="2">添加管理员</td>
           </tr>
        <tr>
			<td align="right" style="width: 149px; font-size:15px;">管理员名：</td>
			<td align="left">
			<asp:Label ID="Label1" runat="server" Font-Size="12px" ForeColor="Red" Text="*"/>
			<asp:textbox id="txtName" runat="server"  MaxLength="50" Width="128px"></asp:textbox>
			<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ErrorMessage="管理员名不能为空！" Font-Size="11px" ControlToValidate="txtName"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
                    ErrorMessage="管理员名不能超过20位！" Font-Size="11px" ControlToValidate="txtName" 
                    ValidationExpression="\w{1,20}"></asp:RegularExpressionValidator>
			</td>
		</tr>
		<tr>
			<td align="right" style="height: 24px; width: 149px;font-size :15px">密码：</td>
			<td style="height: 24px" align="left">
			<asp:Label ID="Label2" runat="server" Font-Size="12px" ForeColor="Red" Text="*"/>
			<asp:textbox id="txtPassword" runat="server"  MaxLength="50" TextMode="Password" Width="128px"></asp:textbox>
						<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="密码不能为空！" Font-Size="11px" ControlToValidate="txtPassword"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                    ErrorMessage="密码不能超过6位！" Font-Size="11px" ControlToValidate="txtPassword" 
                    ValidationExpression="\w{1,6}"></asp:RegularExpressionValidator>
			</td>
		</tr>
		<tr>
			<td align="right" style="height: 24px; width: 149px;font-size :15px">确认密码：
			</td>
			<td style="height: 24px" align="left">
			<asp:Label ID="Label3" runat="server" Font-Size="12px" ForeColor="Red" Text="*"/>
			<asp:textbox id="txtconfirmPassword" runat="server"  MaxLength="50" TextMode="Password" Width="128px"></asp:textbox>
			<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="确认密码不能为空！" Font-Size="11px" ControlToValidate="txtconfirmPassword"></asp:RequiredFieldValidator>
            <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="两次密码输入不一致！" Font-Size="11px" ControlToCompare="txtPassword" ControlToValidate="txtconfirmPassword"></asp:CompareValidator></td>
		</tr>
			<tr>
				<td align="right" colSpan="2"><br>
                    &nbsp;&nbsp;
                    <asp:Button ID="btnReset" runat="server" CausesValidation="False" Text="保存修改" 
                        Width=58px onclick="btnSave_Click"/>
                    &nbsp;&nbsp;
                    <asp:Button ID="Button1" runat="server" CausesValidation="False" Text="取消" Width=58px 
                        onclick="btnCancel_Click"/>
                </td>
			</tr>					
		</table>
</asp:Content>

